package com.anrong.sdk.callback;

public interface ZipCallBack {
	public static final int ERROR_EXCEPTION = -1;
	public static final int SDCARK_EXCEPTION = -1001;
	// 压缩包不存在，请下载最新 压缩包！
	public static final int CODE_EXPLODE_PACKET_NOTEXIST_EXCEPTION = -2007;
	public static final String MSG_EXPLODE_PACKET_NOTEXIST = " 压缩包不存在或破损，请下载最新压缩包！";
	// 布控包解压失败，请重新同步最新布控包！
	public static final int CODE_EXPLODE_PACKET_FAILED_EXCEPTION = -2008;
	public static final String MSG_EXPLODE_PACKET_FAILED = "布控包解压失败，请重新同步最新布控包！";

	boolean onPrepare();

	void onReckonSizeFinished(long size);

	void onProgress(int progress, long currentSize, long MaxSize, String status);

	void onSuccess();

	void onError(int code, String error);
}
